{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "%matplotlib inline"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "\n# The mplot3d Toolkit\n\n\nGenerating 3D plots using the mplot3d toolkit.\n\n.. currentmodule:: mpl_toolkits.mplot3d\n      :backlinks: none\n\n\nGetting started\n---------------\nAn Axes3D object is created just like any other axes using\nthe projection='3d' keyword.\nCreate a new :class:`matplotlib.figure.Figure` and\nadd a new axes to it of type :class:`~mpl_toolkits.mplot3d.Axes3D`::\n\n   import matplotlib.pyplot as plt\n   from mpl_toolkits.mplot3d import Axes3D\n   fig = plt.figure()\n   ax = fig.add_subplot(111, projection='3d')\n\n.. versionadded:: 1.0.0\n   This approach is the preferred method of creating a 3D axes.\n\n<div class=\"alert alert-info\"><h4>Note</h4><p>Prior to version 1.0.0, the method of creating a 3D axes was\n   different. For those using older versions of matplotlib, change\n   ``ax = fig.add_subplot(111, projection='3d')``\n   to ``ax = Axes3D(fig)``.</p></div>\n\nSee the `toolkit_mplot3d-faq` for more information about the mplot3d\ntoolkit.\n\n\nLine plots\n====================\n.. automethod:: Axes3D.plot\n\n.. figure:: ../../gallery/mplot3d/images/sphx_glr_lines3d_001.png\n   :target: ../../gallery/mplot3d/lines3d.html\n   :align: center\n   :scale: 50\n\n   Lines3d\n\n\nScatter plots\n=============\n.. automethod:: Axes3D.scatter\n\n.. figure:: ../../gallery/mplot3d/images/sphx_glr_scatter3d_001.png\n   :target: ../../gallery/mplot3d/scatter3d.html\n   :align: center\n   :scale: 50\n\n   Scatter3d\n\n\nWireframe plots\n===============\n.. automethod:: Axes3D.plot_wireframe\n\n.. figure:: ../../gallery/mplot3d/images/sphx_glr_wire3d_001.png\n   :target: ../../gallery/mplot3d/wire3d.html\n   :align: center\n   :scale: 50\n\n   Wire3d\n\n\nSurface plots\n=============\n.. automethod:: Axes3D.plot_surface\n\n.. figure:: ../../gallery/mplot3d/images/sphx_glr_surface3d_001.png\n   :target: ../../gallery/mplot3d/surface3d.html\n   :align: center\n   :scale: 50\n\n   Surface3d\n\n   Surface3d 2\n\n   Surface3d 3\n\n\nTri-Surface plots\n=================\n.. automethod:: Axes3D.plot_trisurf\n\n.. figure:: ../../gallery/mplot3d/images/sphx_glr_trisurf3d_001.png\n   :target: ../../gallery/mplot3d/trisurf3d.html\n   :align: center\n   :scale: 50\n\n   Trisurf3d\n\n\n\nContour plots\n=============\n.. automethod:: Axes3D.contour\n\n.. figure:: ../../gallery/mplot3d/images/sphx_glr_contour3d_001.png\n   :target: ../../gallery/mplot3d/contour3d.html\n   :align: center\n   :scale: 50\n\n   Contour3d\n\n   Contour3d 2\n\n   Contour3d 3\n\n\nFilled contour plots\n====================\n.. automethod:: Axes3D.contourf\n\n.. figure:: ../../gallery/mplot3d/images/sphx_glr_contourf3d_001.png\n   :target: ../../gallery/mplot3d/contourf3d.html\n   :align: center\n   :scale: 50\n\n   Contourf3d\n\n   Contourf3d 2\n\n.. versionadded:: 1.1.0\n   The feature demoed in the second contourf3d example was enabled as a\n   result of a bugfix for version 1.1.0.\n\n\nPolygon plots\n====================\n.. automethod:: Axes3D.add_collection3d\n\n.. figure:: ../../gallery/mplot3d/images/sphx_glr_polys3d_001.png\n   :target: ../../gallery/mplot3d/polys3d.html\n   :align: center\n   :scale: 50\n\n   Polys3d\n\n\nBar plots\n====================\n.. automethod:: Axes3D.bar\n\n.. figure:: ../../gallery/mplot3d/images/sphx_glr_bars3d_001.png\n   :target: ../../gallery/mplot3d/bars3d.html\n   :align: center\n   :scale: 50\n\n   Bars3d\n\n\nQuiver\n====================\n.. automethod:: Axes3D.quiver\n\n.. figure:: ../../gallery/mplot3d/images/sphx_glr_quiver3d_001.png\n   :target: ../../gallery/mplot3d/quiver3d.html\n   :align: center\n   :scale: 50\n\n   Quiver3d\n\n\n2D plots in 3D\n====================\n.. figure:: ../../gallery/mplot3d/images/sphx_glr_2dcollections3d_001.png\n   :target: ../../gallery/mplot3d/2dcollections3d.html\n   :align: center\n   :scale: 50\n\n   2dcollections3d\n\n\nText\n====================\n.. automethod:: Axes3D.text\n\n.. figure:: ../../gallery/mplot3d/images/sphx_glr_text3d_001.png\n   :target: ../../gallery/mplot3d/text3d.html\n   :align: center\n   :scale: 50\n\n   Text3d\n\n\nSubplotting\n====================\nHaving multiple 3D plots in a single figure is the same\nas it is for 2D plots. Also, you can have both 2D and 3D plots\nin the same figure.\n\n.. versionadded:: 1.0.0\n   Subplotting 3D plots was added in v1.0.0.  Earlier version can not\n   do this.\n\n.. figure:: ../../gallery/mplot3d/images/sphx_glr_subplot3d_001.png\n   :target: ../../gallery/mplot3d/subplot3d.html\n   :align: center\n   :scale: 50\n\n   Subplot3d\n\n   Mixed Subplots\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}
